package com.cqie.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cqie.rbac.bo.UserBo;
import com.cqie.rbac.bo.UserUpOrAddBo;
import com.cqie.rbac.entity.SysUser;
import com.cqie.rbac.util.Result;

import java.util.List;

/**
 * <p>
 * 用户实体 服务类
 * </p>
 *
 * @author 夏兵
 * @since 2021-09-02
 */
public interface ISysUserService extends IService<SysUser> {

    Result login(String account, String password);

    Result<SysUser> pageOfUser(Integer current, Integer size, UserBo userBO);

    Result changeUserStatus(List<UserBo> userBos);

    Result userUpOrAdd(UserUpOrAddBo userBo);

    Result queryUserById(Long id);

    Result multiDelUser(int[] idArray);

    Result multiChangeUsrStatus(List<SysUser> idAndStatus);
}
